package com.bawei.home

import com.bawei.common.entity.CommendEntity
import com.bawei.common.entity.VideoEntity
import com.bawei.common.mvi.BaseUiState
import com.bawei.home.entity.SimpleTypeEntity

sealed class HomeUiState: BaseUiState(){
    object LoadEmpty: HomeUiState()
    data class LoadSimpleTypeSuccess(val list: List<SimpleTypeEntity>): HomeUiState()
    data class LoadSimpleTypeFail(val msg: String): HomeUiState()
    data class LoadSimpleVideoSuccess(val list: List<VideoEntity>): HomeUiState()
    data class LoadSimpleVideoFail(val msg: String): HomeUiState()
    data class LoadVideoCommendSuccess(val list: List<CommendEntity>): HomeUiState()
    data class LoadVideoCommendFail(val msg: String): HomeUiState()
}
